package com.xxx.system.mapper;

import com.xxx.system.domain.Logininfo;
import com.xxx.system.domain.Menu;
import com.xxx.system.query.MenuQuery;

import java.util.List;

public interface MenuMapper {

    List<Menu> findAll();

    Menu findOne(Long id);

    List<Menu> queryPage(MenuQuery menuQuery);

    void addMenu(Menu menu);

    void updateMenu(Menu menu);

    void deleteMenu(Long id);

    void batchMenu(Long[] ids);

    List<Menu> findMenusByLogininInfoId(Long id);
}
